<template>
  <div>
    <tab-bar>
      <tab-bar-item path="/home">
        <template #item-icon>
          <i class="el-icon-s-home"></i>
        </template>
        <template #item-icon-active>
          <i class="el-icon-video-play"></i>
        </template>
        <template #item-text>
          <div>首页</div>
        </template>
      </tab-bar-item>
      <tab-bar-item path="/category">
        <template #item-icon>
          <i class="el-icon-menu"></i>
        </template>
        <template #item-icon-active>
          <i class="el-icon-video-play"></i>
        </template>
        <template #item-text>
          <div>分类</div>
        </template>
      </tab-bar-item>
      <tab-bar-item path="/cart">
        <template #item-icon>
          <i class="el-icon-s-shop"></i>
        </template>
        <template #item-icon-active>
          <i class="el-icon-video-play"></i>
        </template>
        <template #item-text>
          <div>购物车</div>
        </template>
      </tab-bar-item>
      <tab-bar-item path="/profile" activeColor="red">
        <template #item-icon>
          <i class="el-icon-s-custom"></i>
        </template>
        <template #item-icon-active>
          <i class="el-icon-video-play"></i>
        </template>
        <template #item-text>
          <div>我的</div>
        </template>
      </tab-bar-item>
    </tab-bar>
  </div>
</template>

<script>
import TabBar from "components/tabbar/TabBar"
import TabBarItem from "components/tabbar/TabBarItem"

export default {
  name: "MainTabBar",
  data() {
    return {

    }
  },
  methods: {

  },
  components: {
    TabBar,
    TabBarItem
  }
}

</script>

<style scoped>

</style>